import type { RouteRecordRaw } from 'vue-router'

const journalRoutes: RouteRecordRaw = {
  path: '/journal',
  component: () => import('./views/index.vue'),
  children: [
    {
      path: '',
      name: 'JournalHome',
      component: () => import('./views/Home.vue'),
      meta: {
        title: '我的手账',
        requiresAuth: false // 设置为true如果需要登录
      }
    }
  ]
}

export default journalRoutes
